home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global sndname, seclick
- sound stop 1
- cursor(4)
- set sndname to "@::SOUND:S41.AIF"
- set seclick to "SE01"
- end
-
- on pushbutton
- set ch to clickOn()
- set cname1 to item 1 of the name of cast the castNum of sprite ch
- set cname2 to item 2 of the name of cast the castNum of sprite ch
- repeat while the stillDown
- if rollOver(ch) then
- set the castNum of sprite ch to the number of cast (cname1 & "," & "ON")
- else
- set the castNum of sprite ch to the number of cast (cname1 & "," & cname2)
- end if
- updateStage()
- end repeat
- if rollOver(ch) then
- set the castNum of sprite ch to the number of cast (cname1 & "," & "ON")
- set ret to 1
- else
- set the castNum of sprite ch to the number of cast (cname1 & "," & cname2)
- set ret to 0
- end if
- updateStage()
- return ret
- end
-
- on moviebutton
- global seclick, selmov
- if pushbutton() then
- sound stop 1
- puppetSound(seclick)
- updateStage()
- cursor(4)
- set selmov to clickOn()
- repeat with i = 6 to 13
- if i <> selmov then
- puppetSprite(i, 0)
- next repeat
- end if
- puppetSprite(i, 1)
- end repeat
- go(marker(1))
- end if
- end
-